package com.example.dtos.plugin;

import java.util.List;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 插件分页结果DTO
 */
public record PluginPageDTO(
    @Schema(description = "总记录数", example = "24")
    long total,
    
    @Schema(description = "总页数", example = "3")
    int pages,
    
    @Schema(description = "当前页码", example = "1")
    int current,
    
    @Schema(description = "每页条数", example = "10")
    int size,
    
    @Schema(description = "插件列表")
    List<PluginListItemDTO> records
) {} 